package com.roncoo.education.course.common.bo.auth;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;


/**
 * 用户新增课时评价
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("用户新增课时评价")
public class AuthCourseRateBO {


    @ApiModelProperty(value = "课程id",required = false)
    private Long courseId;

    @ApiModelProperty(value = "课时⭐⭐数量",required = false)
    private Integer star;

    @NotNull(message = "请输入评价内容")
    @ApiModelProperty(value = "课时评价内容",required = true)
    private String content;

//    private Integer statusId;

//    private Long userNo;

    @ApiModelProperty(value = "章节id",required = false)
    private Long chapterId;

    @NotNull(message = "课时id不能为空")
    @ApiModelProperty(value = "课时id",required = true)
    private Long periodId;
}
